package cn.iocoder.yudao.module.crm.controller.admin.mobileencryptconfig.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.*;
import java.util.List;

@Schema(description = "管理后台 - 号码隐私设置新增/修改 Request VO")
@Data
public class MobileEncryptConfigSaveReqVO {

    @Schema(description = "配置编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "20453")
    private Long id;

    @Schema(description = "启用状态：0-不启用；1-启用", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "启用状态：0-不启用；1-启用不能为空")
    private Integer status;

    @Schema(description = "可显示的前缀", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "可显示的前缀不能为空")
    private Integer prefix;

    @Schema(description = "可显示的后缀", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "可显示的后缀不能为空")
    private Integer suffix;

    @Schema(description = "替换的符号")
    private String text;

    @Schema(description = "指定部门")
    private List<Long> deptIds;

    @Schema(description = "指定员工")
    private List<Long> userIds;

}